home *** CD-ROM | disk | FTP | other *** search
- /*
- File: SlotThread.h
-
- Contains: xxx put contents here xxx
-
- Written by: Tim Harnett
-
- Copyright: © 1994 by Apple Computer, Inc., all rights reserved.
-
- Change History (most recent first):
-
- <7> 2/14/95 TMH IsLetterInTheEventQueue
- <6> 1/11/95 TMH tweak to generalize framework
- <5> 12/12/94 TMH use of thread events
- <4> 10/11/94 TMH CommThread integration
- <3> 10/3/94 TMH break of TWireless&TEWorld from TExternalSlot
- <2> 9/30/94 TMH added DoIncoming
- <1> 9/21/94 TMH seperated from Application.cp
- 9/21/94 TMH xxx put comment here xxx
-
- To Do:
- */
-
- #ifndef __SlotThread__
- #define __SlotThread__
-
- class TMSAMSlot;
- class TExternalSlot;
- class TCommThread;
-
- #ifndef __TThread__
- #include "TThread.h"
- #endif
-
-
- //-----------------------------------------------
- // T S l o t T h r e a d
- //-----------------------------------------------
-
-
- class TSlotThread : public TCooperativeThread {
- public:
- TSlotThread();
- void ISlotThread(TMSAMSlot* slot);
- virtual void* ThreadMain();
-
- Boolean IsLetterInTheEventQueue(long letterSeqNo,Boolean deleteIt=false);
-
- private:
-
- TMSAMSlot* fMSAMSlot;
-
- };
-
-
- #endif __SlotThread__